﻿<?php
include("inc/global.inc");
include("inc/key.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>批发市场-三帝贸易网批发市场上万种单品，超市配货，政府采购，企事业单位采购，一站服务！</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="三帝批发网是目前最大的产品信息展示和批发平台，我们的宗旨：让您少花钱，采购产品更加安全可靠。" name="description">
<META content="批发网，批发市场，服装批发，礼品批发，建材批发，机械批发，家居产品批发，日用品批发，农产品批发，办公用品批发，食品饮料批发，家电批发，零配件批发，灯具批发，钢材批发，化工原料批发，纺织批发，塑料批发，批发市场，三帝贸易网批发市场" name="keywords">
<LINK href="css/index.css" type="text/css" rel="stylesheet">
<LINK href="css/main.css" type="text/css" rel="stylesheet">
<LINK href="css/body.css" type="text/css" rel="stylesheet">
<LINK href="css/foot.css" type="text/css" rel="stylesheet">
</HEAD>
<BODY>
<?php include("inc/top.php");?>
<DIV id=BoxTwo class="topside6">
<DIV id=HomeClass>
<DIV class=HClist>
  <div align="center"><a href="http://pifa88.sandib2b.cn/product/242599.htm" target="_blank"><img src="ad/ad1.gif" width="210" height="83" border="0"></a></div>
</DIV>
<DIV class=HClist>
  <div align="center"><a href="#"><img src="ad/ad2.gif" width="210" height="83" border="0"></a></div>
</DIV>
<DIV class=HClist>
  <div align="center"><a href="http://pifa.sandib2b.cn/pf/253154.html" target="_blank"><img src="ad/ad3.gif" width="210" height="83" border="0"></a></div>
</DIV>
</DIV>
<DIV id=HomeAD>
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
  <TBODY>
  <TR>
    <TD height=260>
      <SCRIPT type=text/javascript>	
//<![CDATA[
var swf_width=500;
var swf_height=260;
var files='http://pifa.sandib2b.cn/ad/1130.jpg|http://pifa.sandib2b.cn/ad/1130_1.jpg'
var links='#|#'
var texts=''
//0xffffff:文字颜色|1:文字位置|0x0066ff:文字背景颜色|60:文字背景透明度|0xffffff:按键文字颜色|0x0066ff:按键默认颜色|0x000033:按键当前颜色|8:自动播放时间(秒)|2:图片过渡效果|1:是否显示按钮|_blank:打开窗口
var swf_config = "|2|||0xFFFFFF|0xFF6600||4|3|1|_blank"
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="swf/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+swf_config+'">');
document.write('<embed src="swf/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+swf_config+' menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>'); 
//]]>
</SCRIPT>
</TD>
    </TR>
  </TBODY></TABLE>
</DIV>
<DIV id="HomeLogin">
<DIV id="TopNews">
<div class="title2 side" style="height:12px"><b>推荐企业</b></div>
<UL>
<?php 
$rs=mysql_query("select id,m_user,m_cname,m_type from member where m_sh=1 and m_mode=1 and m_type=6 order by m_top_tj desc, id desc limit 9");
while($row=mysql_fetch_array($rs)){
if($row[m_type]==6){
   $m_url="http://$row[m_user].sandib2b.cn";
}else{
   $m_url="/cn/template/$row[m_user]/";
}
?>
  <LI><a href="<?=$m_url?>" target="_blank"><?=mb_substr($row[m_cname],0,16,'utf-8')?></a></LI>
<?php }
?>
  </UL>
</DIV>
</DIV>
</DIV>
<div class="onl"></div>
<DIV class="BoxDiv">
<DIV class="BoxTLeft">
  <div class="title11 side"><img src="images/tjpro.gif" width="722" height="68"></div>
<DIV class="Prolist">
<DIV class="ShowPhotos">
<UL class="overflow">
<?php
$rs=mysql_query("select id,picture,p_title,pifa_price from product where is_pifa=1 and p_sh=1 order by pifa_top desc,id desc limit 8");
while($row=mysql_fetch_array($rs)){
?>
  <LI>
    <table width="150" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="150" align="center" class="photosB"><A href="/pf/<?=$row['id']?>.html" target="_blank"><?php if($row[picture]){?><IMG src="http://www.sandib2b.cn/upfile/<?=$row[picture]?>" alt="<?=$row[p_title]?>" <?=imgstr("http://www.sandib2b.cn/upfile/$row[picture]","140","140")?> border="0"><?php }else{?><IMG src="/images/InfoPic.gif" border="0"><?php }?></A></td>
      </tr>
      <tr>
        <td align="center" height="24"><A href="/pf/<?=$row['id']?>.html" target="_blank"><?=mb_substr(keyword($row[p_title]),0,12,'utf-8')?></a></td>
      </tr>
      <tr>
        <td height="24" align="center"><?php if($row[pifa_price]){?>批发价:<span class='price'>￥<?=$row[pifa_price]?></span> 元<?php }?></td>
		</tr>
		<tr>
		<td align="center" valign="top">
			<A href="#" target="_blank">
			<img src="images/buy_icon.gif" width="45" height="21" border="0" /></A>&nbsp;
			<A title="三帝批发市场"  href="#" style="CURSOR: hand" onClick="javascript:window.external.AddFavorite('http://pifa.sandib2b.cn/pf/<?=$row['id']?>.html','<?=keyword($row[p_title])?>')"><img src="images/fav_icon.gif" width="45" height="21"  border="0" /></A></a></td>
        </tr>
    </table>
  </LI>
<?php }?>
</UL>
<DIV class=ClearDiv></DIV>
</DIV>
</DIV>
</DIV>
<DIV class=BoxTRight>
<DIV>
  <div class="title1 side downside6 "><b>最新产品</b></div>
</DIV>
<DIV id=hotbroad>
<UL>
<?php
$j=1;
$rs=mysql_query("select id,p_title from product where is_pifa=1 and p_sh=1 order by p_addtime desc limit 16");
while($row=mysql_fetch_array($rs)){
?>
  <LI id=hot<?=$j?>><SPAN class=hotNum id=hotNum<?=$j?>><?=$j?>.</SPAN><A href="/pf/<?=$row['id']?>.html" target="_blank"><?=mb_substr(keyword($row[p_title]),0,13,'utf-8')?></a></LI>
<?php $j++;}?>
</UL>
 </DIV>
</DIV>
<DIV class=ClearDiv></DIV></DIV>
<DIV class=zdyBox>
  <div class="ProShow">
  <div class="title111"><img src="images/hotcategories.gif" width="959" height="64"></div>
  <ul>
    <li><img src="img/1.gif" alt="交通运输及配件" border="0"/> <strong>交通运输及配件</strong>
     <?php $rs=mysql_query("select * from hot_product where hot_ping='14' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/2.gif" border="0"/><strong>计算机及消费电子</strong>
     <?php $rs=mysql_query("select * from hot_product where hot_ping='11' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/3.gif" border="0"/><strong>机械设备、五金工具</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='13' and hot_id=0 order by id asc");
	 while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/4.gif" border="0"/><strong>农业</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='4' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/5.gif" border="0"/><strong>化工、矿产</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='15' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/6.gif" border="0"/><strong>建筑、装修、装潢</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='8' and hot_id=0 order by id asc");
	 while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/7.gif" border="0"/><strong>纺织、服饰</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='3' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/8.gif" border="0"/><strong>时尚礼品、饰品</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='1' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/9.gif" border="0"/><strong>家具装饰</strong>
    <?php $rs=mysql_query("select * from hot_product where hot_ping='7' and hot_id=0 order by id asc");
	      while($row=mysql_fetch_array($rs)){
	?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
  <?php }?>
    </li>
    <li><img src="img/10.gif" border="0"/><strong>医疗健康</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='9' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/11.gif" border="0"/><strong>电子电工</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='12' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/12.gif" border="0"/><strong>体育休闲用品</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='10' and hot_id=0 order by id asc");
	 while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
  <?php }?>
    </li>
    <li><img src="img/13.gif" border="0"/><strong>宠物与婴儿用品及玩具</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='2' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/14.gif" border="0"/><strong>广告、办公、包装用品</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='5' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
    <li><img src="img/15.gif" border="0"/><strong>家居与园艺</strong>
<?php $rs=mysql_query("select * from hot_product where hot_ping='6' and hot_id=0 order by id asc");
	  while($row=mysql_fetch_array($rs)){
?>
  <h1><a href="/pftype/tid<?=$row['id']?>.html" target="_blank"><font color="#0033CC"><?=$row[hot_name]?></font></a></h1>
<?php }?>
    </li>
  </ul>
  <div class="onl"></div>
</div>
</DIV>
<?php include("inc/foot.php");?>      
</BODY>
</HTML>
